<?php
//ym
      $ym=mysql_query("select * from mod_ym order by id desc");
      while($t=mysql_fetch_array($ym)){
        echo "<p align='center'>$t[nama] <br />
              <a href='ymsgr:sendIM?$t[username]'>
              <img src='http://opi.yahoo.com/online?u=$t[username]&amp;m=g&amp;t=14' border='0' alt='Chat with $t[nama]' /></a>
              </p><br />";
      }
?>
